<div class="col-md-4 grid-margin stretch-card">onepay
    <div class="card">
        <div class="card-body">
            <div class="d-flex align-items-center">
                <img src="http://q1.qlogo.cn/g?b=qq&nk={$user_info.qq|default='1078509454'}&s=100"
                     class="img-lg rounded-circle mb-2" alt="profile image">
                <div class="ml-3">
                    <h4>
                        {$user_info.username|default="Onepay"}
                    </h4>
                    <p class="text-muted mb-0">
                        {eq name="$user_info.is_agent" value="1"}代理商 VIP1{else /}普通商户{/eq}
                    </p>
                </div>
            </div>
            <p class="mt-4 card-text">
                <div class="card rounded border mb-2">
                    <div class="card-body p-3">
                        {if $user_info.is_verify}
                        <div class="media">
                            <i class="icon-check icon-sm text-success align-self-center mr-3"></i>
                            <div class="media-body">
                                <h6 class="mb-1">商户已激活认证</h6>
                            </div>
                        </div>
                        {else /}
                        <div class="media">
                            <i class="icon-close icon-sm text-danger align-self-center mr-3"></i>
                            <div class="media-body">
                                <h6 class="mb-1">商户未激活认证</h6>
                            </div>
                        </div>
                        {/if}
                    </div>
                 </div>
            </p>
            <a href="#" class="btn btn-primary btn-sm mt-3 mb-4">
                充值
            </a>
            <a href="{:url('index/Balance/apply')}" class="btn btn-success btn-sm mt-3 mb-4">
                提现
            </a>
            <a href="#" class="btn btn-info btn-sm mt-3 mb-4">
                转账
            </a>
            <div class="border-top pt-3">
                <div class="row">
                    <div class="col-4">
                        <h6>
                            ￥{$info.enable + $info.disable}
                        </h6>
                        <p>
                            总余额
                        </p>
                    </div>
                    <div class="col-4">
                        <h6>
                            ￥{$info.enable}
                        </h6>
                        <p>
                            可用余额
                        </p>
                    </div>
                    <div class="col-4">
                        <h6>
                            ￥{$info.disable}
                        </h6>
                        <p>
                            冻结余额
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>